package com.xuecheng.orders.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @author 勾新杰
 * @version 1.0
 * @description: 二维码已过期
 * @date 2025/3/9 15:57
 */
public class QRCodeExpiredException extends XCPlusBaseException {

    QRCodeExpiredException(String message) {
        super(message);
    }

    public static void cast(){
        throw new QRCodeExpiredException(OrdersError.QR_CODE_EXPIRED.getErrMessage());
    }
}
